﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http.Filters;

namespace SYMetro.Web.MVC.Filters
{
    /// <summary>
    /// 想实现一个Filter将Ext请求的_dt不要带到Action的参数中，目前未实现
    /// </summary>
    public class ExtRequestFilterAttribute : ActionFilterAttribute
    {
        public override void OnActionExecuting(System.Web.Http.Controllers.HttpActionContext actionContext)
        {
            base.OnActionExecuting(actionContext);
        }

        public override bool AllowMultiple
        {
            get
            {
                return base.AllowMultiple;
            }
        }

        public override bool IsDefaultAttribute()
        {
            return base.IsDefaultAttribute();
        }

        public override void OnActionExecuted(HttpActionExecutedContext actionExecutedContext)
        {
            base.OnActionExecuted(actionExecutedContext);
        }

        public override object TypeId
        {
            get
            {
                return base.TypeId;
            }
        }

        public override bool Match(object obj)
        {
            return base.Match(obj);
        }
    }
}